package com.pkk.blny.constant;

import static com.pkk.blny.constant.RedisKeyConstant.CHAR_COLON;
import static com.pkk.blny.constant.RedisKeyConstant.SMALL_APP_PREFIX;

/**
 * @description: redis的key的常量类
 * @author: peikunkun
 * @create: 2020-01-19 14:51
 **/
public class RedisKeyUtil {

  /**
   * @Description: 获取小程序文章列表缓存
   * @Param: statusEnum
   * @Param typeEnum
   * @Param pageSize
   * @return: java.lang.String
   * @Author: peikunkun
   * @Date: 2020/1/19 0019 下午 2:59
   */
  public static String getSmallAppIndexPost(Integer status, String postType, Integer pageSize) {
    return SMALL_APP_PREFIX.concat(String.valueOf(status)).concat(CHAR_COLON).concat(postType).concat(CHAR_COLON)
        .concat(String.valueOf(pageSize));
  }


}
